import Mock from 'mockjs'
import LoginApi from './login'

// 模拟数据
Mock.mock(/\/login\/login/, 'post', LoginApi.loginByUsername);
Mock.mock(/\/login\/logout/, 'post', LoginApi.logout)
Mock.mock(/\/user\/info\.*/, 'get', LoginApi.getUserInfo)

export default Mock